<#assign object = doc.objects>
<!DOCTYPE web-app PUBLIC
 "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
 "http://java.sun.com/dtd/web-app_2_3.dtd" >

<web-app>
	<display-name>showcase</display-name>
	<servlet>
		<servlet-name>redoraConfigurationOperations</servlet-name>
		<servlet-class>redora.rdo.configuration.rdo.service.http.RedoraConfigurationServlet</servlet-class>
	</servlet>
	<servlet>
		<servlet-name>modelFieldsView</servlet-name>
		<servlet-class>${object.package}.service.http.ModelViewServlet</servlet-class>
	</servlet>
	<#list object["/objects/object"] as model>
	<servlet>
		<servlet-name>${model.name?uncap_first}Operations</servlet-name>
		<servlet-class>${object.package}.service.http.${model.name}Servlet</servlet-class>
	</servlet>
	</#list>
	<servlet-mapping>
		<servlet-name>redoraConfigurationOperations</servlet-name>
		<url-pattern>/${object.package}.Application/redoraConfigurationOperations.do</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>modelFieldsView</servlet-name>
		<url-pattern>/${object.package}.Application/modelFieldsView.do</url-pattern>
	</servlet-mapping>
	<#list object["/objects/object"] as model>
	<servlet-mapping>
		<servlet-name>${model.name?uncap_first}Operations</servlet-name>
		<url-pattern>/${object.package}.Application/${model.name?uncap_first}Operations.do</url-pattern>
	</servlet-mapping>
	</#list>

</web-app>
